package cc.mrbird.febs.accounting.entity;

import java.util.Date;
import java.util.List;

import cc.mrbird.febs.accounting.dto.detailCost.DetailCostDTO;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 标准主科目表 Entity
 *
 * @author baoyinlei
 * @date 2021-11-29 16:39:31
 */
@Data
@TableName("bk_standard_main")
public class StandardMain {

    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField("name")
    private String name;

    /**
     * 
     */
    @TableField("code")
    private String code;

    /**
     * 排序
     */
    @TableField("`order`")
    private Integer order;

    /**
     * 
     */
    @TableField("is_deleted")
    private Integer isDeleted;

    /**
     * 
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 
     */
    @TableField("modify_time")
    private Date modifyTime;

    /**
     * 
     */
    @TableField("create_by")
    private String createBy;

    /**
     * 
     */
    @TableField("modify_by")
    private String modifyBy;

    @TableField(exist = false)
    private List<DetailCostDTO> detailCostDTOS;
}
